package com.itheima.reggie.entity.dto;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;
import org.springframework.web.bind.annotation.DeleteMapping;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author:YZN
 * @date:2022/12/31
 * @description:
 */
@Data
public class DishDto extends Dish implements Serializable {
    private String name;

    private BigDecimal price;

    private String code;

    private String image;

    private String description;

    private Integer status;

    private Long categoryId;

    private List<DishFlavor> flavors;

    private String categoryName;
}
